package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * ClassName: HelloWorld
 * Description: TODO
 * User: kevin
 * Date: 2018-11-15
 * Time: 下午6:48
 */
@RestController
public class HelloWorld {

    @RequestMapping("/hello")
    public String index(){
        return "Hello World!";
    }
}
